# $Id: PKGBUILD 154162 2012-03-23 20:16:23Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xkbevd
pkgver=1.1.3
pkgrel=1
pkgdesc="XKB event daemon"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=("${url}/releases/individual/app/xkbevd-${pkgver}.tar.bz2")
sha1sums=('543963ba22b019b4e059e8605eb418f8a712b76e')

build() {
  cd "${srcdir}/xkbevd-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xkbevd-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
